#center {
    display: block;
    unicode-bidi: isolate;
    justify-content: center;
    transform: scale(1.30); /* 将内容放大1/3 */
    margin-top: 120px; 
}

#gallery {
    width: 810px; /* 或者适当调整宽度 */
    margin: 0 auto; /* 水平居中 */
    position: relative; /* 如果有定位要求 */
    left: 210px; /* 或者根据实际需要调整 */
}

#banner {
    width: 810px;
    height: 270px;
    position: relative;
    overflow: hidden;
    left: 550px;
}

#photo {
    width: 4050px;
    height: 270px;
    animation: switch 10s ease-out infinite;
}

#photo img {
    float: left;
    width: 810px;
    height: 270px;
}

@keyframes switch {
    0%, 20% {
        margin-left: 0;
    }
    21%, 40% {
        margin-left: -810px;
    }
    41%, 60% {
        margin-left: -1620px;
    }
    61%, 80% {
        margin-left: -2430px;
    }
    81%, 100% {
        margin-left: -3240px;
    }
}

#adver {
    width: 1150px;
    height: 107px;
    margin-top: 8px;
    position: relative;
    left: 550px;
}

#adver table img {
    width: 404px;
    height: 35px;
    margin: 0px;
}

#gallery {
    background-color: #fff;
    height: 570px;
    margin: 0 342px;
    border-bottom: 1px solid #ccc;
}

#gallery p {
    height: 22px;
    margin-bottom: 18px;
    border-bottom: 1px solid #ccc;
    margin-top: 20px;
    padding: 10px 0px 10px 5px;
}

#gallery ul {
    width: 810px;
    text-align: justify;
    list-style: none;
}

#gallery ul li {
    width: 140px;
    height: 220px;
    position: relative;
    float: left;
    margin-bottom: 35px;
    margin-right: 20px;
}

#gallery span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hlimg {
    height: 150px;
}

.hlimg img {
    width: 100%;
}

.title {
    font-size: 15px;
}

.writer {
    font-size: 10px;
    color: rgb(114, 114, 112);
    line-height: 20px;
    margin-bottom: 5px;
}

.price {
    font-size: 16px;
    color: rgb(230, 152, 64);
}

#footer {
    width: 100%;
    height: 60px;
    text-align: center;
    position: relative;
    bottom: 5px;
    border-top: #ccc 2px;
}

.tooltiptext{
    color: #fff;
 font-size: 15px;
    position: absolute;
    top: 80px;
  left: 90px;
    }
    /* Tooltip 文本 */
    .tooltip .tooltiptext {
     visibility: hidden;
     width: auto;
   background-color:rgba(0, 0, 0, 0.771);
   text-align: center;
   padding: 3px 10px;
   border: 1px solid white;
    position: absolute;
     z-index: 1;
    }
    /* 鼠标移动上去后显示提示框 */
    .tooltip:hover .tooltiptext {
    visibility: visible;
    }